//
//  SLNearlyViewModel.h
//  StarLight
//
//  Created by Duke.wu on 16/5/16.
//  Copyright © 2016年 Duke.Wu. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, NearlyViewModelType) {
  NearlyViewModelTypeShip,
  NearlyViewModelTypeProduct,
};


@interface SLNearlyViewModel : NSObject 

@property (nonatomic, strong) NSMutableArray *dataSource;

- (instancetype)initWithPage:(NSNumber *)page andType:(NearlyViewModelType)type;

- (void)next;
- (void)first;
- (void)changeLocationWithLon:(double)lon lat:(double)lat;
@end
